/*
** ############################################################################
**     Project   : osdee - Operative Systems Design for Embedded Envrionments
**     File      : SchM_Cfg.c
**     Revision  ; 1.0
**     Abstract  :
**         Scheduler Configuration implementation.
**         Here the Scheduler operation parameters should be adapted.
**
**     Copyright : 2014 Fernando Rodriguez - Victor Huidobro, 
**                 Open source with out any responsability.
**     
**     mail      : frr@gmail.com, vhuidobrog@gmail.com
** ############################################################################
*/

#include "SchM_Cfg.h"

/*
** ===================================================================
**     Type        :  ser_tSCHM_configuration
**
**     Description :
**         Scheduler General Configuration.
**         Here is where OS TICK rate and tasks properties can be specified. 
**         In order to add more tasks then SCHM_CONFIGURED_TASKS also must be updated.
** ===================================================================
*/
tsSCHM_Cfg ser_tSCHM_configuration = 
{
  /* Tasks Configuration*/
  {
    /* Task 1 */
    {
      SCHM_Task_1,         /* Task Id       */
      1,                   /* Task Mask     */
      1,                   /* Task Offset   */
      SchM_Task_1,         /* Task Callback */
      SCHM_Task_Suspended  /* Task Status   */
    },
    /* Task 2 */
    {
      SCHM_Task_2,         /* Task Id       */
      3,                   /* Task Mask     */
      2,                   /* Task Offset   */
      SchM_Task_2,         /* Task Callback */
      SCHM_Task_Suspended  /* Task Status   */
    },
    /* Task 3 */
    {
      SCHM_Task_3,         /* Task Id       */
      7,                   /* Task Mask     */
      4,                   /* Task Offset   */
      SchM_Task_3,         /* Task Callback */
      SCHM_Task_Suspended  /* Task Status   */
    },
    /* Task 4 */
    {
      SCHM_Task_4,         /* Task Id       */
      15,                  /* Task Mask     */
      8,                   /* Task Offset   */
      SchM_Task_4,         /* Task Callback */
      SCHM_Task_Suspended  /* Task Status   */
    },
    /* Task 5 */
    {
      SCHM_Task_5,         /* Task Id       */
      31,                  /* Task Mask     */
      16,                  /* Task Offset   */
      SchM_Task_5,         /* Task Callback */
      SCHM_Task_Suspended  /* Task Status   */
    },
    /* Task 6 */
    {
      SCHM_Task_6,         /* Task Id       */
      63,                  /* Task Mask     */
      32,                  /* Task Offset   */
      SchM_Task_6,         /* Task Callback */
      SCHM_Task_Suspended  /* Task Status   */
    },
    /* Task 7 */
    {
      SCHM_Task_7,         /* Task Id       */
      127,                 /* Task Mask     */
      64,                  /* Task Offset   */
      SchM_Task_7,         /* Task Callback */
      SCHM_Task_Suspended  /* Task Status   */
    }
  }
};

